	<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%> 
	<html>
		<head>
<link href="common/common.css" type="text/css"	rel="stylesheet">
<script src="common/sortabletable.js"	type="text/javascript"></script>
<script src="common/common.js" type="text/javascript"></script>
<script type="text/javascript"	src="common/popcalendar.js"></script>
</head>
		<body>
			<div style="width:900px" id="rightlayout">
				<div style="text-align: left; color: red">
					<html:errors></html:errors>
				</div>
				<html:form action="/VehicleMainAction">
		<table style="color:#000066;background: url(images/qurybg.jpg) left top repeat-x;background-color:#C9DCE3;" width="100%" align="center">
			<tbody> 
			<tr>
					<td>车辆编号: </td><td> 
					<html:text property="qNumCode" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					<td>车牌号: </td><td> 
					<html:text property="qRegistNumber" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					<td>颜色: </td><td> 
					<html:text property="qCarColor" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					<td>车辆名称: </td><td> 
					<html:text property="qCarName" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					</tr><tr>
					<td>车辆类型: </td><td> 
					<html:text property="qCarType" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					<td>容积: </td><td> 
					<html:text property="qCarVolume" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					<td>征费吨位: </td><td> 
					<html:text property="qChargeShipGRT" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					<td>车辆状态: </td><td> 
					<html:text property="qCarStatus" size="20" styleClass="textbox" errorStyleClass="textbox_err" />
				</td>
					</tr><tr>
				<td colspan="7" > </td>
				<td  align="left">
				<input type="button" name="query" class="button"
					value="查询" onclick="submitFrm(this.form,'<c:url
					value='VehicleMainAction.do?method=doQuery'/>')"/>
				</td>
			</tr>
			</tbody>
		</table>
					<input type="button" name="add" class="button"
					value="添加" onClick="redirect('<c:url
					value='VehicleMainAction.do?method=displayVehicleCreateScreen'/>')">
					<input type="button" name="delete" class="button"
					value="批量删除"
					onclick="confirmSubmit('是否删除',this.form,'<c:url
 					value='VehicleMainAction.do?method=batchDelete'/>')">
 					<br></br>
					<c:import url="/common/pager.jsp"></c:import>
						<table width="100%" class="sort-table" align="right" id="itemsList">
							<thead>
								<tr align="center">
									<td width="30px">
										<input onclick="checkBoxSelectAll('ids');" name="multipleSelect" type="checkbox"></input>
									</td>
										<td>车辆编号</td>
										<td>车辆名称</td>
										<td>车辆类型</td>
										<td>车龄</td>
										<td>油耗</td>
										<td>容积</td>
										<td>征费吨位</td>
										<td>车况</td>
										<td>车辆状态</td>
									<td>操作</td>
								</tr>
							</thead>
							<tbody>
								<c:forEach var='vo' items="${ITEMS_COLLECTION}">
								<tr onmouseout="changeColor(this,false,'orange');" onmouseover="changeColor(this,true,'orange')">
								<td width="5%"><input type="checkbox"
											name="ids" value="${vo.id}" /></td>
								<td width=""><a href="#" onclick="redirect('<c:url value='VehicleMainAction.do?method=displayVehicleBrowseScreen&id=${vo.id}'/>')">
								${vo.numCode}
								</a>
								</td>
								<td width="">
								${vo.carName}
								</td>
								<td width="">
								${vo.carType}
								</td>
								<td width="">
								${vo.carAge}
								</td>
								<td width="">
								${vo.oilRate}
								</td>
								<td width="">
								${vo.carVolume}
								</td>
								<td width="">
								${vo.chargeShipGRT}
								</td>
								<td width="">
								${vo.carStage}
								</td>
								<td width="">
								${vo.carStatus}
								</td>
								<td width="10%"><img src="images/edit.gif" title="编 辑" class="btnImg"
onClick="javascript:confirmClick('是否修改?','<c:url value='VehicleMainAction.do?method=displayVehicleUpdateScreen&id=${vo.id}'/>')" ></td>
								</tr>
								 </c:forEach>  
							</tbody>
							<tfoot>
								<tr>
									<td colspan="21"></td>
								</tr>
							</tfoot>
						</table>
				</html:form>
				<script type="text/javascript"> var st = new
				SortableTable( document.getElementById("itemsList"),
				["None","String","String","Number","String","String","String","String","String","String","None",],'#FFFFCC','#FFFFFF','#B1C3D9'); </script>
			</div>
		</body>
	</html>
